<% @page_title = ' :: Storage Systems' -%>

<% content_for :sidebar do %>
	<div class="little_infos">
		<div class="little_content">
			<span class="sidebar_title">Info</span>
			<%= 'There are ' + pluralize(@replication_systems.size, 'Storage System') %>
		</div>

		<div class="little_content">
			<span class="sidebar_title">Create</span>
			<%= (image_tag 'add.png') + "&nbsp;" + (link_to 'Storage System', :action => 'new') %>
		</div>
		
		<%= render :partial => 'configurations/sidebar' %>
	</div>
<% end %>


<h1>Storage Systems</h1>
<% unless @replication_systems.blank? %>
	<% @replication_systems.each do |replica_system| %>
		<div class="span-5 centered img_space">
			<%= link_to image_tag('replica.png', :size => '60x60'), :action => 'show', :id => replica_system %><br />
			<%= link_to "#{replica_system.name}", :action => 'show', :id => replica_system %>
		</div>
	<% end %>
<% end %>